<%-- 
    Document   : view-avg-2ml-data
    Created on : May 23, 2011, 11:04:45 AM
    Author     : joep
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Data Average Stop Time 2ML</title>
        <jsp:include page="includes/script.html"/>
    </head>
    <body>

        <h2 align="center">Data Average Stop Time 2ML</h2>
        <center>
        <form method="get">


            From : <input type="text" value="${start}" name="start">&nbsp;
             To : <input type="text" value="${end}" name="end">&nbsp;
               <input  type="submit" name="submit" value="View" >

        </form>

        ${msg}
        <br>
        <table cellpading="1" cellspacing="1" bgcolor="#010101" align="center" width="800">

            <tr bgcolor="#c2c3c4">
                            <td width="20%" align="center">Tahun</td>
                            <td width="20%" align="center">Average</td>
                            <td width="20%" align="center">Jenis</td>
                        </tr>
                        <c:forEach items="${data}" var="data">
                            <tr bgcolor="#f2f3f4">
                            <td>${data.tahun}</td>
                            <td>${data.average}</td>
                            <td>${data.jenis}</td>
                            <td>
                                <a href="avg-2ml-update.htm?id=${data.id}">Edit</a>&nbsp;
                                <a href="view-avg-2ml-data.htm?id=${data.id}">Delete</a>&nbsp;
                            </td>

                        </tr>
                        </c:forEach>

                </table>
        </center>
    </body>
</</html>
